
<!DOCTYPE html>
<html>
<head>

    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <meta http-equiv="X-UA-Compatible" content="IE=edge" />
    <meta name="Keywords" content="微盟商户管理后台 - 国内最大的微信营销管理平台" />
    <meta name="Description" content="微盟商户管理后台 - 国内最大的微信营销管理平台" />
    <link rel="shortcut icon" href="https://stc.weimob.com/img/wmh_favicon.ico?v=2014-05-21" />
    <link rel="stylesheet" type="text/css" href="https://stc.weimob.com/css/bootstrap_min.css?v=2014-05-21" media="all" />
    <link rel="stylesheet" type="text/css" href="https://stc.weimob.com/css/bootstrap_responsive_min.css?v=2014-05-21" media="all" />
    <link rel="stylesheet" type="text/css" href="https://stc.weimob.com/css/style.css?v=2014-05-21" media="all" />
    <link rel="stylesheet" type="text/css" href="https://stc.weimob.com/css/todc_bootstrap.css?v=2014-05-21" media="all" />
    <link rel="stylesheet" type="text/css" href="https://stc.weimob.com/css/themes.css?v=2014-05-21" media="all" />
    <link rel="stylesheet" type="text/css" href="https://stc.weimob.com/css/inside.css?v=2014-05-21" media="all" />
    <link rel="stylesheet" type="text/css" href="https://www.weimob.com/templates/kindeditor/themes/default/default.css?v=2014-05-21" />
    <script type="text/javascript" src="https://stc.weimob.com/src/jQuery.js?v=2014-05-21"></script>
    <script type="text/javascript" src="https://stc.weimob.com/src/plugins/fileupload/bootstrap_fileupload_min.js?v=2014-05-21"></script>
    <script type="text/javascript" src="https://stc.weimob.com/src/bootstrap_min.js?v=2014-05-21"></script>
    <script type="text/javascript" src="https://stc.weimob.com/src/plugins/validation/jquery_validate_min.js?v=2014-05-21"></script>
    <script type="text/javascript" src="https://stc.weimob.com/src/plugins/validation/jquery_validate_methods.js?v=2014-05-21"></script>
    <script type="text/javascript" src="https://stc.weimob.com/src/plugins/form/jquery_form_min.js?v=2014-05-21"></script>
    <script type="text/javascript" src="https://stc.weimob.com/src/region_select.js?v=2014-05-21"></script>
    <script type="text/javascript" src="https://stc.weimob.com/src/inside.js?v=2014-05-21"></script>
    <script type="text/javascript" src="https://www.weimob.com/templates/kindeditor/kindeditor-min.js?v=2014-05-21"></script>
    <script type="text/javascript" src="https://www.weimob.com/templates/kindeditor/lang/zh_CN.js?v=2014-05-21"></script>
    <title>微盟商户管理后台</title>  <link rel="icon" href="/template/pc1/images/wmh_favicon.ico" type="image/x-icon" />
    <!--[if IE 7]>
  <link href="https://stc.weimob.com/css/font_awesome_ie7.css?v=2014-05-21" rel="stylesheet" />
    <![endif]-->
    <!--[if lte IE 8]>
  <script src="https://stc.weimob.com/js/excanvas_min.js?v=2014-05-21"></script>
    <![endif]-->
    <!--[if lte IE 9]>
  <script src="https://stc.weimob.com/js/watermark.js?v=2014-05-21"></script>
    <![endif]-->
</head>
<body>
<div id="main">
    <div class="container-fluid">

        <div class="row-fluid">
            <div class="span12">
                <div class="box">
                    <div class="box-title">
                        <div class="span10">
                            <h3><i class="icon-edit"></i>手动绑定公众帐号
                                <small><a href="https://wpa.qq.com/msgrd?v=3&uin=4006305400&site=qq&menu=yes" target="_blank"><img  src="https://stc.weimob.com/img/zs.jpg" alt="微盟助手"/></a></small></h3>

                        </div>
                        <div class="span2"><a class="btn" onclick="javascript:window.history.go(-1);">返回</a></div>
                    </div>

                    <div class="box-content">
                        <div id="validateErrorContainer" class="validateErrorContainer ">

                            <ul></ul>
                        </div>

                        <form action="/plcaccount/add" method="POST" class="form-horizontal form-validate">
                            <div class="control-group">
                                <label for="plc_name" class="control-label">公众号名称：</label>
                                <div class="controls">
                                    <input type="text" name="plc_name" id="plc_name" class="input-medium" data-rule-required="true" value="test001"><span class="maroon">*</span>
                                </div>
                            </div>


                            <div class="control-group">
                                <label for="wxid" class="control-label">公众号原始id：</label>
                                <div class="controls">
                                    <input type="text" name="plc_sourceid" id="plc_sourceid" class="input-medium" data-rule-required="true" value="test001" readonly><span class="maroon">*</span><span class="help-inline">
												请认真填写，错了不能修改。比如：gh_423dwjkeww3       <a href="https://wpa.b.qq.com/cgi/wpa.php?ln=1&key=XzkzODAzNTg5Ml8xNzIyMjhfNDAwNjMwNTQwMF8yXw" target="_blank"  ><i class="icon-smile"></i> 联系客服</a>
                                </div>
                            </div>
                            <div class="control-group">
                                <label for="wechat_id" class="control-label">微信号：</label>
                                <div class="controls">
                                    <input type="text" name="wechat_id" id="wechat_id" class="input-medium" data-rule-required="true" value="test001"><span class="maroon">*</span>
                                </div>
                            </div>


                            <div class="control-group">
                                <label class="control-label">头像地址（url）:</label>
                                <div class="controls">
                                    <div id="image_upload" class=""><img upload="image-single" style="max-height:50px;" src="https://www.weimob.com/templates/kindeditor/attached/66/9d/e6/image/20131003/20131003122526_49597.jpg" alt="https://www.weimob.com/templates/kindeditor/attached/66/9d/e6/image/20131003/20131003122526_49597.jpg" /><input type="hidden" value="https://www.weimob.com/templates/kindeditor/attached/66/9d/e6/image/20131003/20131003122526_49597.jpg" name="avatar_url" id="avatar_url" /><span class="help-inline"><button name="button" class="btn select_img" type="button">选择图⽚</button><span class="help-inline">选择上传头像图片</span></span></div>
                                    <script>
                                        KindEditor.ready(function(K){
                                            var editor = KindEditor.editorObj || K.editor({
                                                        themeType: 'simple',
                                                        allowFileManager: true,
                                                        uploadJson: 'https://www.weimob.com/resource/imageSingleUpload?bid=11933&pid=5883',
                                                        fileManagerJson: 'https://www.weimob.com/resource/imageSingleManage?bid=11933&pid=5883'
                                                    });

                                            $('#image_upload button.select_img').click(function(e){
                                                editor.loadPlugin('smimage', function(){
                                                    editor.plugin.imageDialog({
                                                        imageUrl: $(e.target).parent().prev().val(),
                                                        showRemote: 1,//体验版 试用版 禁止上传网络图片 weijing.zhou
                                                        clickFn: function(url, title, width, height, border, align){
                                                            $(e.target).parent().prev().val(url);

                                                            if('image-single' == $(e.target).parent().prev().prev().attr('upload')){
                                                                $(e.target).parent().prev().prev().attr('src', url);
                                                                $(e.target).parent().prev().prev().attr('alt', url)
                                                            }

                                                            editor.hideDialog();
                                                        }
                                                    });
                                                });
                                            });
                                        });
                                    </script>
                                </div>
                            </div>
                            <div class="control-group">
                                <label for="api_key" class="control-label">接口地址：</label>
                                <div class="controls">
                                    <span class="help-inline">https://qc-api.weimob.com/api?t=20cb9f270901910ac0fe9b7913793e5e==Q</span>
                                </div>
                            </div>
                            <div class="control-group">
                                <label for="token" class="control-label">TOKEN：</label>
                                <div class="controls">
                                    <span class="help-inline">510905_p</span>
                                </div>
                            </div>
                            <div class="control-group">
                                <label class="control-label">地区：</label>

                                <div class="controls">
                                    <select name="location_p" id="location_p" ></select>
                                    <select name="location_c" id="location_c" ></select>
                                    <select name="location_a" id="location_a" ></select>
                                    <script type="text/javascript">
                                        new PCAS('location_p', 'location_c', 'location_a', '北京市', '市辖区', '东城区');
                                    </script>
                                </div>

                            </div>
                            <div class="control-group">
                                <label for="email" class="control-label">公众号邮箱：</label>
                                <div class="controls">
                                    <input type="text" name="email" value="" id="email" class="input-medium" data-rule-email="true">
                                </div>
                            </div>
                            <div class="control-group">
                                <label for="funs" class="control-label">粉丝数：</label>
                                <div class="controls">
                                    <input type="text" name="funs" value="0" id="funs" class="input-medium">
                                </div>
                            </div>
                            <div class="control-group">
                                <label for="type" class="control-label">类型：</label>
                                <div class="controls">
                                    <select id="type" name="type" class="input-medium" data-nosearch="true">
                                        <option value="0">选择类型</option>
                                        <option value="1" >情感</option>
                                        <option value="2" >数码</option>
                                        <option value="3" >娱乐</option>
                                        <option value="4" >IT</option>
                                        <option value="5" >购物</option>
                                        <option value="6" >生活</option>
                                        <option value="7" >服务</option>
                                    </select>
                                </div>
                            </div>
                            <div class="control-group hide">
                                <label for="tongji" class="control-label">图文页统计代码：</label>
                                <div class="controls">
                                    <input type="text" name="code_stat"  value="" id ="code_stat" style="width: 600px; height: 40px;" maxlength="300">
                                </div>
                            </div>
                            <div class="form-actions">
                                <input type="hidden" name="aid" id="aid" value="5883">
                                <button type="submit" class="btn btn-primary" id="bsubmit">保存</button>
                                <button  type="button" class="btn" onclick="Javascript:window.history.go(-1)">取消</button>

                            </div>
                        </form>
                    </div>
                </div>
            </div>

        </div>
    </div>
</div>

<script type="text/javascript">
    $(function(){
        $('#plc_name').focus();
    });
</script>	<div style="width:100%;text-align:center;font-size:14px;color:#ff0000;display:none;">微盟技术支持 - weimob 2.0</div>
</body>
<script>
    window.document.onkeydown = function(e) {
        if ('BODY' == event.target.tagName.toUpperCase()) {
            var e=e || event;
            var currKey=e.keyCode || e.which || e.charCode;
            if (8 == currKey) {
                return false;
            }
        }
    };
</script>
</html>
